From 3d074d85e20fcb7b48b8c90d714216dd466baf3d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 18 Jan 2008 13:35:26 +0000 Subject: [PATCH] ioemu: replace non-standard ulong with unsigned long Signed-off-by: Samuel Thibault --- tools/ioemu/target-i386-dm/helper2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ioemu/target-i386-dm/helper2.c b/tools/ioemu/target-i386-dm/helper2.c index 03dd7e8507..d9e5179964 100644 --- a/tools/ioemu/target-i386-dm/helper2.c +++ b/tools/ioemu/target-i386-dm/helper2.c @@ -476,7 +476,7 @@ void cpu_ioreq_timeoffset(CPUState *env, ioreq_t *req) { char b[64]; - time_offset += (ulong)req->data; + time_offset += (unsigned long)req->data; fprintf(logfile, "Time offset set %ld, added offset %ld\n", time_offset, req->data); sprintf(b, "%ld", time_offset); -- 2.30.2